const express = require('express');
const path = require('path')
let router = express.Router();

// 此处加载的中间件也可以自动更新
router.use(express.static(path.resolve('src')));

router.get('/', function(req, res){
  res.send('hello ')
});

module.exports = router;